package com.wc.alorithm_luogu._简单题.B2005;

import java.util.Scanner;

/**
 * https://www.luogu.com.cn/problem/B2005
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.nextLine();
        int row = 3;
        for (int i = 0; i < row; i++) {
            /**
             * 输出空格
             */
            for (int j = 0; j < row - i - 1; j++) {
                System.out.print(" ");
            }
            /**
             * 输出字符
             */
            for (int j = 0; j < i * 2 + 1; j++) {
                System.out.print(s);
            }
            System.out.println();
        }
    }
}
